# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor:
# Maintainer:
pkgname=xonotic-data
pkgver=0.8.2
pkgrel=0
pkgdesc="Data files for Xonotic"
url="https://www.xonotic.org/"
arch="noarch !armhf !armv7 !s390x !ppc64le !aarch64" # save space on builders
license="GPL-2.0-or-later"
depends=""
makedepends=""
options="!check"
source="$pkgname-$pkgver.zip::https://dl.xonotic.org/${pkgname%-*}-${pkgver}.zip"
builddir="$srcdir"/Xonotic

package() {
	mkdir -p "$pkgdir"/usr/share/xonotic/
	mv "$srcdir"/Xonotic/data "$pkgdir"/usr/share/xonotic/
}

sha512sums="0787fcf326827ae0292e5917c7ff2c7fd79947209d4b62e7f83b8b828bec15b575da304e0631f9f163c9b0bd93bed13616e142398ff08cbdaaea890a939dfca5  xonotic-data-0.8.2.zip"
